package com.roger.springcloudGreenwich.bean;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.*;

import java.io.Serializable;

/**
 * Created by admin on 2020/3/11.
 */
@Data
@Document(indexName = "film" , shards = 5)
public class Film implements Serializable{

    private static final long serialVersionUID = -67415807940805186L;
    @Id
    private String uuid;
    private String name;
    private String director;
}
